package hr.com;

import java.util.List;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import hr_project.hr.biz.Emp.IEmpBiz;
import hr_project.hr.dao.emp.IEmpDao;
import hr_project.hr.entity.Emp;
import hr_project.hr.util.QueryEmp;
import hr_project.hr.web.Emp.EmpAction;

public class testEmp {
	
	public static void main(String[] args) {
		
		ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
		IEmpDao dao=context.getBean(IEmpDao.class);
		
		Emp e=dao.getByQuery("1237896");
		
		System.out.println(e);
		
		
	}
	
}
